<%@ Page language="c#" Inherits="hemsidan.photos" CodeFile="photos.aspx.cs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD runat="server">
		<title>photos</title>
		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<body>
		<form id="Form1" method="post" runat="server">
			<h1>Fotoalbum</h1>
			<asp:DataList id="dlAlbums" runat="server" DataKeyField="Id">
				<ItemTemplate>
					<h3><asp:LinkButton Runat=server Text='<%# DataBinder.Eval(Container.DataItem, "Name")%>' ID="Linkbutton1"></asp:LinkButton></h3>
					<p class=date><%# DataBinder.Eval(Container.DataItem, "Created", "{0:yyyy-MM-dd hh:mm}")%></p>
					<p><%# DataBinder.Eval(Container.DataItem, "Comment")%></p>
				</ItemTemplate>
				<SeparatorTemplate><hr></SeparatorTemplate>
			</asp:DataList>
		</form>
	</body>
</HTML>
